package com.zmzncs.lmtc.module.order.pojo.order_card;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 任建波
 * @since 2020-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("order_card")
@ApiModel(value="Card对象", description="")
public class OrderCard implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单会员卡关联id")
    private Long id;

    @ApiModelProperty(value = "订单交易记录id")
    private Long tradeRecordId;

    @ApiModelProperty(value = "订单号")
    private String orderCode;

    @ApiModelProperty(value = "会员卡id")
    private Long cardId;

    @ApiModelProperty(value = "使用时长（小时）")
    private Integer useTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
